﻿using Liang.DataBase.IBLL;
using Liang.DataBase.IDAL;
using Liang.DataBase.Model.Entity;
using Microsoft.Practices.Unity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Liang.DataBase.BLL
{
    public class ModuleBLL : BaseBLL<sys_module, IModuleDAL>
    {
        /// <summary>
        /// 获取尚未分配的app
        /// </summary>
        /// <returns></returns>
        public IList<sys_app> GetApps(sys_module module)
        {
            return baseDAL.GetApps(module);
        }

        /// <summary>
        /// 获取所有的app
        /// </summary>
        /// <returns></returns>
        public IList<sys_app> GetApps()
        {
            return baseDAL.GetApps();
        }
    }
}
